import { useDispatch, useSelector } from 'react-redux'
import store from './index'

// 方便类型推断和统一用法
export const useAppDispatch = () => useDispatch()
export const useAppSelector = useSelector
export default store
